Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add classes to style #1151

Draft
wants to merge 12 commits into
base: master
Choose a base branch
from
Draft

Add classes to style #1151

wants to merge 12 commits into from

Conversation

xmd5a2
Copy link
Contributor

@xmd5a2 xmd5a2 commented Nov 12, 2024

No description provided.

@xmd5a2 xmd5a2 requested a review from vshcherb November 12, 2024 14:15
</renderingClass>
<renderingClass name=".surface" title="Road surface" enable="true"/>
<renderingClass name=".surface_grade" title="Road surface grade" enable="true"/>
<renderingClass name=".access" title="Road access" enable="true">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no tag close for .access ?

@@ -9183,7 +9200,7 @@
</case>
<case minzoom="12" tag="leisure" value="garden" color="$gardenColor"/>
<apply>
<switch minzoom="16" showAccess="true">
<switch minzoom="16" showAccess="true" rClass=".road.access">
<case additional="access=private" color_2="$accessPrivateColor"/>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should it be clasess by access tag? .road.access.private or dynamic class by acces stag

<switch>
<switch baseAppMode="car">
<switch rClass=".road.access">
<switch baseAppMode="car" rClass=".road.access.vehicle.$vehicle,.road.access.motor_vehicle.$motor_vehicle,.road.access.motorcar.$motorcar">
Copy link
Member

@vshcherb vshcherb Nov 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this won't work as too complicated class.
You need to write here each class individuall

<case additional="vehicle=no" .road.access.motor_vehicle_no />

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants